export const DataNullTypes = {
    online: 'online', // 断网
    cart: 'cart', // 购物车
    search: 'search', // 搜索
    order: 'order', // 订单
    collect: 'collect', // 收藏
    default: 'default', // 默认
    address: 'address', // 收货地址
    more: 'more', // 列表尾部
}

export const DataNullOptions = {
    [DataNullTypes.online]: {
        remark: '网络不太顺畅，请稍后刷新试试',
        bg: 'https://izsyue.oss-cn-shenzhen.aliyuncs.com/assets/applets/alliance/data_null/online_null.png',
    },
    [DataNullTypes.cart]: {
        remark: '购物车空空的，去选一些好商品吧',
        btnText: '回到首页',
        routeName: 'home',
        bg: 'https://izsyue.oss-cn-shenzhen.aliyuncs.com/assets/applets/alliance/data_null/cart_null.png',
    },
    [DataNullTypes.search]: {
        remark: '没有搜索到商品，换个关键词试试吧',
        bg: 'https://izsyue.oss-cn-shenzhen.aliyuncs.com/assets/applets/alliance/data_null/search_null.png',
    },
    [DataNullTypes.order]: {
        remark: '没有相关订单噢',
        btnText: '回到首页',
        routeName: 'home',
        bg: 'https://izsyue.oss-cn-shenzhen.aliyuncs.com/assets/applets/alliance/data_null/order_null.png',
    },
    [DataNullTypes.collect]: {
        remark: '还没有收藏的商品，快去逛逛',
        btnText: '回到首页',
        routeName: 'home',
        bg: 'https://izsyue.oss-cn-shenzhen.aliyuncs.com/assets/applets/alliance/data_null/collect_null.png',
    },
    [DataNullTypes.default]: {
        remark: '页面空空如也，什么也没有~',
        bg: 'https://izsyue.oss-cn-shenzhen.aliyuncs.com/assets/applets/alliance/data_null/defalut_null.png',
    },
    [DataNullTypes.address]: {
        remark: '你没有收货地址哦，添加一个吧',
        bg: 'https://izsyue.oss-cn-shenzhen.aliyuncs.com/assets/applets/alliance/data_null/addr_null.png',
    },
    [DataNullTypes.more]: {
        remark: '没有更多了~',
    },

}